* {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  background: linear-gradient(30deg, #ffdc73 0%, #ff6440 20%, #3a3a3a 20%, #929da5 100%);
  height: 100vh;
}
@mixin center {
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
}
@mixin noItem {
  list-style-type: none;
}
@mixin noButton {
  outline: none;
  background: none;
  border: none;
}


.scale-1 {
  transform: scale(1) !important;
}

.hidden {
  display: none !important;
}

.photo-album {
  // padding: 5px;
  @include center();
  $width: 950px;
  $height: 650px;
  .photo-album__container {
    @include noItem();

    width: $width;
    height: $height;
    // border: 5px solid rgb(17, 207, 255);
    padding: 10px;
    overflow: hidden;

    li {
      width: $width/3;
      height: $height/3;
      box-sizing: border-box;
      padding: 15px;
      float: left;
      // overflow: hidden;
      
      img {
        display: block;
        cursor: pointer;
        box-shadow: 0px 0px 10px 4px #3d3d3d;
        border: 5px solid #ffffff;
        border-radius: 15px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        box-sizing: border-box;
      }
    }
  }
}



.modal {
  
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  // opacity: 0.8;
  display: flex;
  justify-content: space-around;
  align-items: center;
  .modal__display {
    transition: 0.3s;
    transform: scale(0);
    flex: 0 1 1000px;
    position: relative;
    order: 1;
    a {
      cursor: pointer;
    }
    .modal__img {
      transform: translateY(-50%);
      position: absolute;
      // height: 100%;
      width: 100%;
      // min-height: 200px;
      object-fit: cover;
    }
  }
  .modal__arrow {
    $margin-img: 80px;
    $margin-side: 20px;
    @include noButton();
    flex: 0 1 50px;
    color: white;
    // height: 100px;
    margin: $margin-side;
    border-radius: 5px;
    text-align: center;
    line-height: 500px;
    font-size: 35px;
    min-width: 35px;
    font-weight: 100;
    cursor: pointer;
    transform: scale(0);

    transition: 0.2s;
    
    &.modal__arrow--right {
      margin-left: $margin-img;
      order: 2;
    }
    &.modal__arrow--left {
      margin-right: $margin-img;
      order: 0;
    }
    &:hover {
      font-size: 50px;
      text-shadow:0px 0px 8px #fff, 0px 0px 42px rgb(255, 186, 143), 0px 0px 72px rgb(255, 192, 75);
    }
  }
}
